import request from '@/utils/request'
/**
 * 字典
 **/

// 获取字典列表
export const getDictList = params => request('/api/v1/SystemDict/GetListNoPage', { params: params });
// 根据配置key查询
export function getConfigByKey(dataKey, type) {
  return request({
    url: '/api/v1/SystemDict/GetConfigByKey',
    method: 'get',
    params: { "configKey": dataKey, "type": type }
  })
}
